package org.hcyspartnoc.demo.pojo.po.user;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serial;
import java.io.Serializable;
import java.time.LocalDateTime;

@Data
@NoArgsConstructor
@TableName("user_contact")
public class UserContactPo implements Serializable {
    @Serial
    private static final long serialVersionUID = 1L;
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;
    @TableField("user_id")
    private Integer userId;
    @TableField("contact_id")
    private Integer contactId;
    @TableField("contact_type")
    private Integer contactType; // 联系人类型(1用户2机器人3群组)
    @TableField("contact_remark")
    private String contactRemark; // 联系人备注
    @TableField("create_time")
    private LocalDateTime createTime; // 创建时间
}